package com.zl.personal.api.initialize;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;
import org.springframework.web.context.ServletConfigAware;

import javax.servlet.ServletConfig;

/**
 * 数据初始化
 * Created by zhonglin on 2017/4/7.
 */
@Component
public class InitData
        implements InitializingBean, ServletConfigAware {

    @Override
    public void setServletConfig(ServletConfig servletConfig) {

    }

    @Override
    public void afterPropertiesSet()
            throws Exception {
        System.out.println("初始化数据============================");
    }


}
